package com.zzh.partnersys.im.message.response;

import com.zzh.partnersys.im.message.Message;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * @Author zzh
 * ����������Ϣ
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class ApplyAddFriendResponseMessage extends Message {
    private String content; //������Ϣ
    private Long fromUid;
    private Long toUid;
    private String fromName;
    private String toName;

    public ApplyAddFriendResponseMessage() {
    }

    public ApplyAddFriendResponseMessage(Long fromUid, Long toUid, String content,String fromName,String toName) {
        this.fromUid = fromUid;
        this.toUid = toUid;
        this.content = content;
        this.fromName = fromName;
        this.toName = toName;
        super.setMessageType(ApplyAddFriendResponseMessage);
    }

    @Override
    public int getMessageType() {
        return ApplyAddFriendResponseMessage;
    }
}
